package com.JdkProxy.firstexample.person.impl;

import com.JdkProxy.firstexample.person.Person;

/**
 * @User c.c
 * @Since 2022/10/24
 * @Time 8:56
 * @Description
 */
public class Docker implements Person {
  private String name;
  private int age;

  public Docker() {
  }

  public Docker(String name, int age) {
    this.name = name;
    this.age = age;
  }

  public void wakeup() {
    System.out.println("医生正在起床");
  }

  public void sleep() {
    System.out.println("医生正在睡觉");
  }

  public void eat() {
    System.out.println("医生正在吃饭");
  }

  public String getName() {
    return name;
  }

  public int getAge() {
    return age;
  }

}
